
<%--
    Document   : Altaadmin
    Created on : 08-may-2010
    Author     : Diego
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<html:html lang="true">

    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Alta Usuario Administrador</title>
         <style type="text/css">
          body {
                background-color: #000000;
                font-family: Arial, Helvetica, sans-serif, "Arial Narrow";
                font-weight: bold;
                color: #FFFFFF;
                font-size: 14px;
        }
        </style>
          <html:base/>
    </head>
    <body style="background-color:black" style="font">

<% if (request.getSession().getAttribute("Tipo")!="Admin")
         {
      %>
         <jsp:forward page="Welcome.do"/>
      <%
          }
      %>
<!-- -------------------PAGINA ALTA USUARIO ADMINISTRADOR--------------- -->
<jsp:include page="Cabezal.html"/>
<br>
 <table width="100%">
      <tr>
          <td align="center" width="30%" valign="top">

              <jsp:include page="AdministradorMenu.jsp"/>

          </td>
          <td>
              <div align="center">
              <h1>ALTA ADMINISTRADOR</h1>
              <table><tr><td align="right">
                    <html:form action="/AltaAdminAction.do">
                         Nick:      <html:text   property="nick"  maxlength="15"/>
                <font color="red">  <html:errors property="nick" />  </font>
                                    <br>
                         Nombre:    <html:text   property="nombre"  maxlength="15"/>
                <font color="red">  <html:errors property="nombre" /> </font>
                                    <br>
                         Apellido:  <html:text   property="apellido"  maxlength="15"/>
                <font color="red">  <html:errors property="apellido" /> </font>
                                    <br>
                         Contraseña:<html:password property="pass" maxlength="15"/>
                <font color="red">  <html:errors property="pass" /> </font>
                                    <br>
                         E-Mail:    <html:text   property="email" maxlength="30"/>
                <font color="red">  <html:errors property="email" /> </font>
                                    <br>
                         F. Nac:    <html:text   property="fnac" value="día/mes/año" maxlength="11"/>
                <font color="red">  <html:errors property="fnac" /> </font>
                                    <br>
                        <html:submit value="Registrar" style=" background-color:#66FF66; font-weight:bold" />
                        <html:reset value="Limpiar" style="background-color:#FFFF66; font-weight:bold"/>
                    </html:form>
                      </td>
                  </tr>
              </table>
              </div>



          </td>
      </tr>
  </table>


       <jsp:include page="Pie.html"/>
    </body>
</html:html>
